package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 人员
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "dms_tb_user")
public class User implements Serializable {
	@Id
	private String userId;// 人员表标识
	private String userAccount;// 用户账号
	private String userName;// 名称
	private String userPwd;// 密码
	private String userUc;// UC
	private String userTele;// 座机
	private String userSex;// 性别
	private String mobile;// 手机
	private String email;// 邮箱
	private Date lastDate;// 最后一次登陆时间
	private String userLevel;// 人员等级

	// @Transient
	// private Role role;
	// @Transient
	// private Project project;

	public User() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserUc() {
		return userUc;
	}

	public void setUserUc(String userUc) {
		this.userUc = userUc;
	}

	public String getUserTele() {
		return userTele;
	}

	public void setUserTele(String userTele) {
		this.userTele = userTele;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getLastDate() {
		return lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

	public String getUserLevel() {
		return userLevel;
	}

	public void setUserLevel(String userLevel) {
		this.userLevel = userLevel;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}
}
